<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        html,
        body {
            overflow: hidden;
            background: black;
            padding: 0;
            margin: 0;
        }
        .btn_box{
            position: fixed;
            top: 20px;
            left: 10px;
            z-index: 999;
        }
    </style>
</head>

<body>
    <div class="btn_box">
        <button onclick="start()">动画1 开始</button>
        <button onclick="pause()">动画1 暂停</button>
    </div>
</body>
<script src="./canvas1.js"></script>
<script>
    function start1(){
        start();
    }
</script>
</html>